home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / prefs / font.h next >
C/C++ Source or Header  |  1993-10-15  |  1KB  |  60 lines

  1. #ifndef PREFS_FONT_H
  2. #define PREFS_FONT_H
  3. /*
  4. **    $VER: font.h 38.2 (27.9.91)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for font preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef LIBRARIES_IFFPARSE_H
  21. #include <libraries/iffparse.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_TEXT_H
  25. #include <graphics/text.h>
  26. #endif
  27.  
  28.  
  29. /*****************************************************************************/
  30.  
  31.  
  32. #define ID_FONT MAKE_ID('F','O','N','T')
  33.  
  34.  
  35. #define FONTNAMESIZE (128)
  36.  
  37. struct FontPrefs
  38. {
  39.     LONG        fp_Reserved[3];
  40.     UWORD        fp_Reserved2;
  41.     UWORD        fp_Type;
  42.     UBYTE        fp_FrontPen;
  43.     UBYTE        fp_BackPen;
  44.     UBYTE        fp_DrawMode;
  45.     struct TextAttr fp_TextAttr;
  46.     BYTE        fp_Name[FONTNAMESIZE];
  47. };
  48.  
  49.  
  50. /* constants for FontPrefs.fp_Type */
  51. #define FP_WBFONT     0
  52. #define FP_SYSFONT    1
  53. #define FP_SCREENFONT 2
  54.  
  55.  
  56. /*****************************************************************************/
  57.  
  58.  
  59. #endif /* PREFS_FONT_H */
  60.